package com.atguigu.gulimall.search.vo;

import com.atguigu.common.to.SkuEsModel;
import lombok.Data;

import java.util.List;

@Data
public class SearchResultVo {
    private List<SkuEsModel> skuEsModelList;
    private List<BrandVo> brandVos;
    private List<CatalogVo> catalogVos;
    private List<AttrVo> attrVos;
    private Integer total;
    private Integer pageNum;
    private Integer totalPage;
    private List<Integer> pageNavs;

    //面包屑导航
    private List<NavVo> navs;



    @Data
    public static class NavVo{
        private String navName;
        private String navValue;
        private String link;
    }

    @Data
    public static class BrandVo{
        private Long brandId;
        private String brandName;
        private String brandImg;
    }

    @Data
    public static class CatalogVo{
        private Long catalogId;
        private String catalogName;
    }

    @Data
    public static class AttrVo{
        private Long attrId;
        private String attrName;
        private List<String> attrValues;
    }




}
